package mipo.top.admin.domain;

import lombok.Data;
import mipo.top.system.domain.Role;
import mipo.top.users.domain.Logininfo;

import java.util.List;

@Data
public class Employee {
   private Long id;
   private String username;
   private String phone;
   private String email;
   private String salt;
   private String password;
   private Integer age;
   private Integer state;
   private Long departmentId;
   private Long logininfoId;
   private Long shopId;

   private Department department;
   private Logininfo logininfo;
   private Long role;
   private List<Long> roles;
}
